
package com.dews.information.convert;

import com.dews.information.domain.dto.ClazzInfoDTO;
import com.dews.information.domain.entity.ClazzInfo;
import com.dews.information.domain.vo.ClazzInfoVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 班级信息对象转换器
*
* @author qingfeng
* @date 2025-01-14
*/
@Mapper
public interface ClazzInfoConvert {

    ClazzInfoConvert INSTANCE = Mappers.getMapper(ClazzInfoConvert.class);

    ClazzInfo convert(ClazzInfoVo bean);
    ClazzInfoVo convert(ClazzInfo domain);
    ClazzInfo convert(ClazzInfoDTO clazzInfoDTO);
    List<ClazzInfoVo> convert(List<ClazzInfo> domains);
}
